package com.teamclub.domain.erp.product;

import io.ebean.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Version;
import java.util.Date;

/**
 * 厂方
 * Created by ilkkzm on 17-9-11.
 */
@Entity
@Table(name="erp_product_info")
@NoArgsConstructor
@Data
@EqualsAndHashCode(callSuper = false)
public class ProductInfo extends Model{
    @Id
    private Integer id;
    private String organNo;
    private String productName;
    private Boolean isDelete;

    @Version
    private Date createdTime;
}
